var crawler = require("../lib/crawler").Crawler;
var analyzer = require('../lib/analyser').Analyzer;
var tool = require("../common").Toolkit;

/**
 *  test none mongodb flow and db analyse flow
 * */

//todo
//var al = new analyzer({
//    scope : {},  //dependency
//    mode : false, //none parallel, default output to console
//
//});

var cl = new crawler({
    name : "test",
    requestChain : {url : 'http://www.baidu.com',method : 'Get',option:{},next:null,filter:function(err,res){}},
    start : new Date(),
    end : new Date().valueOf() + 5000,
    freq : "*/1 * * * * *",
    monitor : "* * * * * *",
    synGroup : 1
},al);



test.setAnalyzer(analyzer);
